package com.muhuahealth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.muhuahealth.entity.RoadEntity;
import com.muhuahealth.utils.PageQueryUtil;
import com.muhuahealth.utils.PageResult;
import com.muhuahealth.utils.ServerResponse;

/**
 * @author GSK
 * @version 1.0
 * @date 2020/12/27 16:03
 */
public interface RoadService extends IService<RoadEntity> {

    /**
     * 后台分页
     * @param pageQueryUtil
     * @return
     */
     PageResult getRoadListPage(PageQueryUtil pageQueryUtil);

    ServerResponse saveRoadInfo(RoadEntity roadEntity);

    ServerResponse update(RoadEntity roadEntity);

    boolean deleteById(Integer id);

    ServerResponse searchRoadInfo(RoadEntity roadEntity);
}
